package com.mysiteforme.admin.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.mysiteforme.admin.base.DataEntity;
import com.mysiteforme.admin.base.TreeEntity;

import java.util.List;

/**
 * <p>
 * 分类
 * </p>
 *
 * @author wangl
 * @since 2019-09-19
 */
@TableName("electricity_classify")
public class ElectricityClassify extends TreeEntity<ElectricityClassify> {

    private static final long serialVersionUID = 1L;

    /**
     * 分类名称
     */
	private String name;
    /**
     * 路径
     */
	@TableField("classify_url")
	private String classifyUrl;
	/**
	 * 类型图片
	 */
	private String pic;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getClassifyUrl() {
		return classifyUrl;
	}

	public void setClassifyUrl(String classifyUrl) {
		this.classifyUrl = classifyUrl;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	@Override
	public String toString() {
		return "ElectricityClassify{" +
			", name=" + name +
			", parentId=" + parentId +
			", level=" + level +
			", classifyUrl=" + classifyUrl +
			", sort=" + sort +
			", parentIds=" + parentIds +
			"}";
	}
}
